package com.menhai.personmanagement.mapper;

import com.menhai.personmanagement.entity.User;
import org.apache.ibatis.annotations.Mapper;
import com.menhai.personmanagement.entity.Frontpage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 首页 Mapper 接口
 * </p>
 *
 * @author shikun
 * @since 2021-12-01
 */
@Mapper
public interface FrontpageMapper extends BaseMapper<Frontpage>{

     List<Frontpage> selectListByOrder();

     List<Frontpage>selectBylevels(@Param("parentids") List<String> parentids);
}
